import { ApiProperty } from '@nestjs/swagger';
export class SignInDto {
  @ApiProperty({
    description: '用户名',
    example: 'admin',
    required: true,
    type: 'string',
    minLength: 3,
    maxLength: 10,
  })
  readonly username: string;
  @ApiProperty({
    description: '密码',
    example: '123456',
    required: true,
    type: 'string',
    minLength: 6,
    maxLength: 16,
  })
  readonly password: string;
}
